package com.ssm.service.impl;

import com.ssm.pojo.AppVersion;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssm.repository.AppVersionMapper;
import com.ssm.service.AppVersionServiceDao;

import java.util.List;

@Service
public class AppVersionServiceImpl implements AppVersionServiceDao {
	@Autowired
private AppVersionMapper AppVersionMapper;

	@Override
	public AppVersion selectAVById(int id) {
		return AppVersionMapper.selectAVById(id);
	}

	@Override
	public List<AppVersion> selectByAID(int aid) {
		return AppVersionMapper.selectByAID(aid);
	}

	@Override
	public int delByAID(int aid) {
		return AppVersionMapper.delByAID(aid);
	}

	@Override
	public int insertAVInfo(AppVersion appVersion) {
		return AppVersionMapper.insertAVInfo(appVersion);
	}

	@Override
	public int updateAVInfo(AppVersion appVersion) {
		return AppVersionMapper.updateAVInfo(appVersion);
	}
}
